Contents | Index | < Browse | Browse >
LETTERsinULETTER
Sine function.
Overview
#include<math.h>
r = sin(x);
double r;
double x;
Portability
ANSI
Description
This function calculates the sine of "x".
Note
Of course all trigonometric functions require the angle be expressed in
radians. Pass the angle "w" expressed in degrees to
x = PI/180 * w
to receive its equivalent in radians in "x".
Returns
The sine as a double-precision floating-point number.
See also
cos , asin